<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   	<%@ include file="/page/commen/common.jsp" %>
   	
   		<script type="text/javascript">
   		function showInfo(id){
   		  var itemId="#itemInfo"+id;
   		  	 if($(itemId).css("display")=='none'){
   		  	 closeAllInfo();
			$(itemId).slideDown();
			     }
			     else{
			$(itemId).slideUp();
			     }
   		}	
   		function closeAllInfo(){
			var lis= $("#dateItemUl li.itemInfo");
			var len=lis.length;
			for(var i=0;i<len;i++){
			var liid=lis[i].id;
			var li=$("#"+liid);
			 if(li.css("display")=='block')li.slideUp();
			}
		}
   		
   		  $(document).ready(function(){
            setMenu("bangzhu");//设置菜单显示选中项
           });
   		//显示

   		</script>
    <title>帮助中心</title>
  </head>
  
  <body class="ContentBody">
  	<%@ include file="/page/commen/top.jsp" %>
		<div class="left">	
		 <p class="description helpImg">帮助中心</p>
		 <form name="searchForm2" action="goHelpsMain.do"method="post" id="searchForm2">
		<input type="hidden" name="searchForm.currentPage" id="currentPage" value="<s:property value="searchForm.page"/>">
		<input type="hidden" name="searchForm.page" id="page" value="">
		 <div class="inputContent">
		 <p class="title">帮助信息</p>
	<ul class="dateItem" id="dateItemUl"> 
	 <s:iterator  value="pagerResult.result" status="status">
	   <li class="normal <s:if test="#status.odd"> alt</s:if>">
	   <span onclick="showInfo(<s:property value='helpId'/>)" class="itemTitle">问题<span class="red"><s:property value="searchForm.page*searchForm.pageSize-searchForm.pageSize+#status.index+1"/></span> : <s:property value="helpTitle"/></span>
	   <span class="itemTime"><s:date name="createDate" format="yyyy-MM-dd"/></span>
	   </li>
	   	   <div style="clear:both"></div>
	   <li class="itemInfo" style="display:none" id="itemInfo<s:property value='helpId'/>">${helpContent}</li>
	   	   <div style="clear:both"></div>
	   
	 </s:iterator>
	</ul>
	
        	<%@ include file="/page/commen/page.jsp" %>	
        	
        </div>
        </form>
  </div>
  
  	<div id="right">
	<%@ include file="/page/commen/login.jsp" %>	
	<%@ include file="/page/commen/download.jsp" %>	
			
	<%@ include file="/page/commen/contactUs.jsp" %>
		</div>	
	<%@ include file="/page/commen/foot.jsp" %>	
  </body>
</html>
